<%--用于演示登陆功能，登陆成功之后可以访问succ1.jsp，否则会显示一条信息提示没有登录。--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<form action="/session/login" method="post">
    <%
        String msg = "";
        String message = (String) request.getAttribute("msg");
        if (message != null) {
            msg += message;
        }
    %>
    <b>
        <%=msg%>
    </b>
    账 号：<input type="text" name="name">
    密 码：<input type="password" name="password">
    验证码：<input type="text" name="vcText"><img src="/session/verifyCode">
    <input type="submit" value="登陆">
</form>
</body>
</html>
